<!DOCTYPE html>
<html>
<head>
    <title>Date Type Example</title>
    <script type="text/javascript">
    
        var now = new Date();
        alert(now);
        
        var someDate = new Date(Date.parse("May 25, 2004"));
        alert(someDate);

    </script>
</head>
<body>

</body>
</html>